import React, { Component } from 'react'
import { BrowserRouter} from "react-router-dom"
import routerConfig from "./router/routerConfig"
import RouterView from "./router/RouterView" 
import {Provider}from "react-redux"
import store from './store'
export class App extends Component {
  render() {
    return (
      <Provider store={store}>
      <BrowserRouter>
      <RouterView routerConfig={routerConfig}></RouterView>
      </BrowserRouter>
      </Provider>
    )
  }
}

export default App